<template>
    <div class="block">
        <p class="page-title">
            <!-- <z-history :type="1"></z-history> -->
            申请成为管理员</p>
        <div class="adminfalse" v-if="Admin==false">
            <img src="../../assets/image/沙漏.png" alt="">
            <p class="applypad">{{tipWords}}</p>
        </div>
        <!-- <z-home></z-home> -->
    </div>
</template>

<script>
export default {
    data() {
        return {
            Admin:false,
            tipWords:''
        }
    },
    mounted: function() {
        document.title = "申请成为管理员"
        const that = this;
        if(that.$route.query.code == 200){
            that.tipWords = '您已经申请成为管理员，请等待审核'
        }
        if(that.$route.query.code == 530105){
            that.tipWords = '您已经成为签到管理员，无需重复申请'
        }
        if(that.$route.query.code == 530106){
            that.tipWords = '您已经申请，请等待管理员审核'
        }
    
    },
    methods: {
       

    }
}
</script>
<style lang="less">
@import url('../../assets/css/base.less');
    html{background: #f4f4f4;}
    .block {
        background: #f4f4f4;
        width: 100%;
        height:100%;
        .page-title {
            z-index: 20;
            width: 100%;
            height: 1.3333rem;
            line-height: 1.3333rem;
            font-size: 0.48rem;
            position: fixed;
            top: 0;
            left:0;
            max-width:450px;margin:0 auto;
            right: 0;
            color: #333;
            letter-spacing: 0.3px;
            text-align: center;
            background: #FFF;
            box-shadow: inset 0 -1px 0 0 rgba(221, 221, 221, 0.50);
        }
        .page-title .back {
            position: absolute;
            left: 0.533rem;
        }
        .adminfalse{
            img{
                width: @size50;
                margin:0 auto;
                margin-top:6rem;
                margin-left: 50%;
                transform: translateX(-50%);
            }
            p{
                text-align: center;
                margin-top:.533rem;
                font-size: 16px;
                color: #666666;
            }
            .applypad{
                padding: 0 .8rem;
            }
        }
    }

</style>

